<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="s" uri="/struts-tags" %>

<c:choose>

    <c:when test="${not empty clientId}">
        Client : ${clientId} ${clientNom}<br/>
        <s:form namespace="/actions" action="deconnexion">
            <s:submit value="Deconnexion"/>
        </s:form>
    </c:when>

    <c:otherwise>
        <s:form namespace="/actions" action="connexion">
            <s:textfield name="idClient" label="Id Client"/>
            <s:submit value="Connexion"/>
        </s:form>
    </c:otherwise>

</c:choose>
